package com.cl.short_video_java.vo.video;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author 付
 * @Date 2024-11-22 11:51
 * @Version 1.0
 * @description
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Advertis {
	@NotEmpty(message = "抱歉，广告标题不能为空")
	private String title;
	@NotNull(message = "位置参数不能为空")
	private Integer position;
	private Integer status = 0;
	@NotEmpty(message = "抱歉，广告目标地址不能为空")
	private String targetUrl;
	@NotEmpty(message = "抱歉，广告首图不能为空")
	private String imgUrl;
}
